<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<script type="text/javascript"
	src="/ecwebpub/component/webpub/core/seajs/dist/sea-debug.js"></script>
<script type="text/javascript"
	src="/ecwebpub/component/webpub/core/seajs/dist/config.js"></script>
<title>ListPanel测试</title>
</head>
<body class="ui-skin-red">
	<div id="list" style="width: 200px;"></div>
	<script type="text/javascript">
		seajs.use(['common/list/src/js/list'],
			function(List) {
				var option1 = {
					attrs:{
						url:'/ecwebpub/component/webpub/common/list/test/data.json'
					},
					/* model:{
						"totalCounts" : 4,
						"records" : [{
									"id" : "1",
									"name" : "name",
									"url" : "http://www.baidu.com",
									"picurl" : "../src/theme/default/img/defaultimg.jpg",
									"content" : "not premit use name1"
								}, {
									"id" : "2",
									"name" : "name",
									"url" : "http://www.baidu.com",
									"picurl" : "../src/theme/default/img/defaultimg.jpg",
									"content" : "not premit use name2"
								}, {
									"id" : "3",
									"name" : "name",
									"url" : "http://www.baidu.com",
									"picurl" : "../src/theme/default/img/defaultimg.jpg",
									"content" : "not premit use name3"
								}, {
									"id" : "4",
									"name" : "name",
									"url" : "http://www.baidu.com",
									"picurl" : "../src/theme/default/img/defaultimg.jpg",
									"content" : "not premit use name4"
								}]
					}, */
					renderTo:"list",
					autoRender:true
				};
				var list= new List(option1);
			});
	</script>
</body>
</html>